package com.nft.service.school.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_books_detail")
@ApiModel(value="UserBookDetailEntity对象", description="用户收藏图书智能检测详细")
public class UserBookDetailEntity implements Serializable {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "图书检测主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户图书id")
    private Long userbookId;

    @ApiModelProperty(value = "图书内容id")
    private Long contentId;

    @ApiModelProperty(value = "图书题目id")
    private Long contentdId;

    @ApiModelProperty(value = "检测内容上传路径")
    private String fileUrl;

    @ApiModelProperty(value = "解析内容")
    private String jxcontent;

    @ApiModelProperty(value = "收藏日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "判断结果:1正确,0错误")
    private String status;
}
